package com.czxy.candidates.feign;

import com.czxy.domain.TbCandidates;
import com.czxy.domain.TbOccupation;
import com.czxy.findjob.vo.BaseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "enterprise-service",path = "/occupation")
public interface OccupationFeign {
    @GetMapping("/{id}")
    public BaseResult<TbOccupation> findById(@PathVariable("id") Integer id);
}
